.tabs {
  display: flex;
  justify-content: space-around;
  margin: 60px auto;
  padding: 0 100px;
  border-bottom: 1px solid #ddd;
  a {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: -1px;
    font-size: 24px;
    &.active {
      color: #0065b3;
      border-color: #0065b3;
    }
  }
}

.box1 {
  .box-content {
    display: flex;
  }
  .item {
    flex: 1;
    text-align: center;
    line-height: 30px;
    img {
      height: 55px;
      margin-bottom: 20px;
    }
    div {
      line-height: 40px;
      font-size: 20px;
    }
    p {
      color: #999999;
    }
  }
}

.box2 {
  padding-bottom: 0;
  .item {
    display: flex;
    &-bg {
      width: 50%;
      display: flex;
      justify-content: flex-start;
      background-color: #efefef;
      &.bg {
        background: url(/images/about/bg_02.jpg) no-repeat;
        background-size: cover;
        .item-box {
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 24px;
          font-weight: bold;
          color: white;
        }
      }
      &:nth-child(odd) {
        justify-content: flex-end;
      }
    }
    &-box {
      width: 700px;
      height: 370px;
      padding: 30px 80px;
      p {
        width: 480px;
        height: 200px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 35px;
        text-align: center;
      }
    }
  }
  .steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    &::before {
      content: "";
      position: absolute;
      top: 37px;
      height: 1px;
      width: 100%;
      background-color: #999999;
      z-index: -1;
    }
    &-item {
      background-color: #ddd;
      color: #999;
      height: 75px;
      width: 75px;
      font-size: 36px;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      cursor: pointer;
      &:hover {
        background-color: #0065b3;
        color: white;
      }
    }
  }
}

.box3 {
  background-color: #e2e2e2;
  .box-content {
    display: flex;
  }
  .txt {
    font-size: 18px;
    line-height: 35px;
    flex: 1;
  }
  .img {
    width: 500px;
    height: 500px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.serve {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 150px;
  &-item {
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, .1);
    padding: 70px;
    text-align: center;
    cursor: pointer;
    &:hover {
      background: linear-gradient(to bottom, #afd1e9, #0065b3);
      color: white;
      img {
        filter: brightness(0) invert(100%);
      }
    }
  }
  &-title {
    font-size: 36px;
    margin-bottom: 30px;
  }
  &-desc {
    line-height: 35px;
    font-size: 18px;
    margin-bottom: 60px;
  }
  img {
    height: 150px;
  }
}


@media screen and (max-width: 1400px) {
  .tabs {
    padding: 0 20px;
    margin: 0;
    margin-bottom: 20px;
    gap: 10px;
    a {
      font-size: 14px;
      padding: 10px;
    }
  }

  .box1 {
    .box-content {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      padding: 30px;
    }
    .item {
      flex: 1;
      text-align: center;
      line-height: 20px;
      img {
        height: 55px;
        margin-bottom: 20px;
      }
      div {
        line-height: 40px;
        font-size: 20px;
      }
      p {
        font-size: 14px;
        color: #999999;
      }
    }
  }
  
  .box2 {
    .item {
      &-box {
        padding: 0;
        p {
          width: 100%;
          height: 100%;
          font-size: 12px;
          line-height: 25px;
          padding: 10px;
        }
      }
    }
  }

  .box3 {
    .box-content {
      flex-wrap: wrap;
    }
    .txt {
      padding: 20px;
      line-height: 25px;
      font-size: 16px;
    }
    .img {
      width: 100%;
      height: initial;
      padding: 30px 0;
    }
  }

  .serve {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    &-item {
      box-shadow: none;
      padding: 30px 20px;
    }
    &-desc {
      margin-bottom: 20px;
    }
  }
}